package cn.gmcx.lazy.izze.config;

import io.swagger.v3.oas.models.ExternalDocumentation;
import io.swagger.v3.oas.models.OpenAPI;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SwaggerConfig {
    @Bean
    public OpenAPI OpenAPIShop(){
        return new OpenAPI()
                .info(null)
                .externalDocs(new ExternalDocumentation()
                        .description("goods")
                        .url("/"));
    }
}
